//
//  CTVTextEntryController.h
//  Channltv
//
//  Created by Bruno  Keymolen on 18/07/07.
//  Copyright 2007 channl.tv. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <BackRow/BRLayerController.h>
#import <BackRow/BRTextEntryDelegateProtocol.h>


@interface CTVTextEntryController : BRLayerController <BRTextEntryDelegate>{
    BRHeaderControl *       _header;
    BRTextEntryControl *    _entry;
	NSString* _textvalue;
}

- (id) initWithScene: (BRRenderScene *) scene andTitle:title andValue:(NSString*)value andLabel:(NSString*)label;
- (void) dealloc;

- (void) textDidChange: (id<BRTextContainer>) sender;
- (void) textDidEndEditing: (id<BRTextContainer>) sender;


- (void) removeControl: (BRControl *) control;
- (void) fadeFrom: (BRControl *) from to: (BRControl *) to;

-(NSString*)textvalue;

-(void) addObserver:(id)observer withSelector:(SEL)CTVselector;

@end


